import http from "../utils/request"

// 获取VIP产品
export let getVip = () => http.get("/product/get_product?category_id=20210827165510715")

// 下单VIP
export let getVipOrder = (product_id,quantity) => http.post("/order/pre_order",{
    product_id,
    quantity
})

// 发起支付订单
export let paymentData = order_id => http.post("/pay/payment",{order_id})

// 查询支付结果
export let getOrderStatus = order_id => http.get("/order/query_order_status?order_id="+order_id)








